/*
 * structs.h
 *
 *  Created on: 2009-01-10
 *      Author: tomaszd
 */

#ifndef STRUCTS_H_
#define STRUCTS_H_

#include <netinet/ip.h>

struct options
{
    int server_port;
    in_addr server_addr;
    in_addr game_addr;
    char nick[16];
    int passwd;
};

struct declaration
{
	int passwd;
	char nick[16];
};

struct init
{
	int accept;
	struct sockaddr_in addr;
};

struct map
{
	int width;
	int height;
	//TODO dopaswoac strukture do potrzeb
};

struct move
{
	unsigned long int round;
	int direction;
};

struct moves
{
	unsigned long int round;
};

#endif /* STRUCTS_H_ */
